//
//  Constants.h
//  lc
//
//  Created by Henry Pang on 2/25/14.
//  Copyright (c) 2014 Sita Tech. All rights reserved.
//

#import <Foundation/Foundation.h>


#pragma mark - enums


typedef enum {
    ADD_CONTACT,
    ACCEPT_CONTACT,
    PICKUP_YOU_INVITE,
    PICKUP_YOU_FEEDBACK
} NotificationTypeEnum;


typedef NS_ENUM(NSUInteger, LCSubPaneViewControllerType) {

    LCSubPaneViewControllerTypeFriendChatting

};

typedef NS_ENUM(NSUInteger, LCMenuViewControllerTableViewSectionType) {
    LCMenuViewControllerTableViewSectionTypeCount
};

typedef NS_ENUM(NSUInteger, LCPlistDictionaryType) {
    LCPlistDictionaryTypeConfig,
    LCPlistDictionaryTypeMenuItem,
    LCPlistDictionaryTypeUserProfile,
    LCPlistDictionaryTypeCommunity,
    LCPlistDictionaryTypeAppStatus
};

typedef NS_ENUM(NSUInteger, LCSandboxPathType) {
    LCSandboxPathTypeHome,
    LCSandboxPathTypeDocument,
    LCSandboxPathTypeLibrary,
    LCSandboxPathTypeCache,
    LCSandboxPathTypeTemp
};

typedef NS_ENUM(NSUInteger, LCFolerDirectoryType) {
    LCFolerDirectoryTypeUserProfile
};

#define getVal(key) [[NSUserDefaults standardUserDefaults] objectForKey:key]
#define setVal(key,val) [[NSUserDefaults standardUserDefaults] setObject:val forKey:key]; [[NSUserDefaults standardUserDefaults] synchronize]

#define BADGE_INDICATOR_FRIEND_MENU @"keyBadgeIndicatorFriendMenu"

#define IS_USER_ALREADY_LOGIN @"IsUserLoggedOn"
#define APP_SESSION_ID @"app_session_id"
#define TIME_INTERVAL @"timestamp"
#define DEVICE_TOKEN @"device_token"
#define LAST_LOGIN @"last_login"

#pragma mark - defines

// Deprecated method attribute

/**
 *  @def cpt_deprecated
 *  @hideinitializer
 *  @brief Marks a method declaration as deprecated.
 **/

#define lc_deprecated __attribute__( (deprecated) )

#pragma mark - constants

@interface Constants : NSObject

+ (NSDictionary*) paneViewControllerIdentifiers;
+ (NSDictionary*) SubPaneViewControllerIdentifiers;
+ (NSDictionary*) plistDictionaryIdentifiers;
+ (NSDictionary*) folerDirectoryIdentifiers;

@end
